/*
 * This file is part of the Refran Library
 * Copyright (C) 2009 César Enrique García
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

/** @file
 * $Author: cquike $
 * $Date: 2010-09-08 19:08:39 +0000 (Wed, 08 Sep 2010) $
 * $Revision: 143 $
 */


#include "DummyRecipe.h"

DummyRecipe::DummyRecipe() : Recipe(1, s_name, s_synopsis, s_longDesc,
                                    s_author,s_email,s_copyright,s_url)
{
}

void DummyRecipe::go_impl_()
{
    return;
}

//This are not strictly necessary, but they help to improve performance.
//If one declares the constructor as:
//DummyRecipe::DummyRecipe() : Recipe(1, "DummyRecipe", "synopsis", "longDesc",
//                                    "author","email","copyright","http://url")
//then there are several calls to std::string(char*) constructor that almost duplicate
//the amount of time to create the object
const std::string DummyRecipe::s_name       = "DummyRecipe";
const std::string DummyRecipe::s_synopsis   = "synopsis";
const std::string DummyRecipe::s_longDesc   = "longDesc";
const std::string DummyRecipe::s_author     = "author";
const std::string DummyRecipe::s_email      = "email";
const std::string DummyRecipe::s_copyright  = "copyright";
const std::string DummyRecipe::s_url        = "http://url";
